home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Files / Volumes / FileSystem.h < prev    next >
Text File  |  2000-06-23  |  413b  |  27 lines

  1. // FileSystem.h
  2.  
  3. #ifndef FileSystem_h
  4. #define FileSystem_h
  5.  
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9.  
  10. class FileSystem
  11.   {
  12.     private:
  13.         int16 id;
  14.     
  15.     public:
  16.         explicit FileSystem( int16 value )
  17.           : id( value )
  18.           {}
  19.     
  20.         int16 ID() const                                    { return id; }
  21.         
  22.         bool operator==( FileSystem f ) const        { return id == f.id; }
  23.         bool operator!=( FileSystem f ) const        { return id != f.id; }
  24.   };
  25.  
  26. #endif
  27.